package com.wutong.eams.config;

import lombok.Getter;
import redis.clients.jedis.Jedis;

public class RedisConfig {

    private static final String HOST = "localhost";
    private static final int PORT = 6379;
    private static final int TIMEOUT = 10000;
    private static final String PASSWORD = "";

    @Getter
    private static Jedis jedis;

    static {
        jedis = new Jedis(HOST, PORT, TIMEOUT);
//        jedis.auth(PASSWORD);
    }
}
